<?php

namespace Model;

/**
 * Klass som används för att skapa och hantera en användare
 */
class User{
	private $m_userid; // Int
	private $m_username; // String
	private $m_password; // String
	private $m_superUser; // Int

	public function __construct($userid, $username, $password, $superuser)
	{
		$this->m_userid = $userid;
		$this->m_username = $username;
		$this->m_password = $password;
		$this->m_superUser = $superuser;		
	}

	public function GetId() {
        return $this->m_userid;
    }
        
    public function GetUsername() {
        return $this->m_username;
    }
    
    public function GetPassword() {
        return $this->m_password;                             
    }

 	public function GetSuperUser() {
        return $this->m_superUser;                             
    }
}